package com.bw.service.impl;

import com.bw.entity.HouseAdd;
import com.bw.mapper.HouseMapper;
import com.bw.service.HouseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class HouseServiceImpl implements HouseService {

    @Autowired
    HouseMapper houseMapper;

    @Transactional
    @Override
    public void add(HouseAdd houseAdd) {
        houseMapper.add(houseAdd);
    }
}
